
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <title>欢迎使用TPCMS---排行榜接口</title>

    <style type="text/css">

    ::selection{ background-color: #E13300; color: white; }
    ::moz-selection{ background-color: #E13300; color: white; }
    ::webkit-selection{ background-color: #E13300; color: white; }

    body {
        background-color: #fff;
        margin: 40px;
        font: 13px/20px normal Helvetica, Arial, sans-serif;
        color: #4F5155;
    }

    a {
        color: #003399;
        background-color: transparent;
        font-weight: normal;
    }

    h1 {
        color: #444;
        background-color: transparent;
        border-bottom: 1px solid #D0D0D0;
        font-size: 19px;
        font-weight: normal;
        margin: 0 0 14px 0;
        padding: 14px 15px 10px 15px;
    }

    code {
        font-family: Consolas, Monaco, Courier New, Courier, monospace;
        font-size: 12px;
        background-color: #f9f9f9;
        border: 1px solid #D0D0D0;
        color: #002166;
        display: block;
        margin: 14px 0 14px 0;
        padding: 12px 10px 12px 10px;
    }

    #body{
        margin: 0 15px 0 15px;
    }
    
    p.footer{
        text-align: right;
        font-size: 11px;
        border-top: 1px solid #D0D0D0;
        line-height: 32px;
        padding: 0 10px 0 10px;
        margin: 20px 0 0 0;
    }
    
    #container{
        margin: 10px;
        border: 1px solid #D0D0D0;
        -webkit-box-shadow: 0 0 8px #D0D0D0;
    }
    </style>
</head>
<body>

<div id="container">
    <h1>欢迎使用TPCMS! ,网址：<a href="http://www.speakphp.com">http://www.speakphp.com</a></h1>

    <div id="body">

      
       
        <p>详细说明：<br>请求地址：<?php echo U("rank/index");?></p>
        
        
        <p>请求参数：</p>
        <p>type 1:标识积分排行 2：标识 金钱排行 </p>
        
        <p>返回值如下：</p>
        <code style="color:red">
          
            <ul>
                <li>
<pre>
金钱排行返回格式如下：
{
    "status": 1,
    "message": "获取成功",
    "list": [
        {
            "username": "18719034911",
            "money": "16.50",
            "rank": "1"
        },
        {
            "username": "15602506295",
            "money": "6.50",
            "rank": "2"
        },
        {
            "username": "13822585447",
            "money": "6.00",
            "rank": "2"
        },
        {
            "username": "15980321255",
            "money": "6.00",
            "rank": "3"
        },
        {
            "username": "13178593967",
            "money": "6.00",
            "rank": "4"
        },
        {
            "username": "15118810571",
            "money": "5.50",
            "rank": "5"
        },
        {
            "username": "13713968813",
            "money": "5.50",
            "rank": "5"
        },
        {
            "username": "13691786464",
            "money": "5.50",
            "rank": "5"
        },
        {
            "username": "13632673673",
            "money": "5.50",
            "rank": "6"
        },
        {
            "username": "13005678103",
            "money": "5.50",
            "rank": "6"
        },
        {
            "username": "13543515793",
            "money": "5.50",
            "rank": "7"
        },
        {
            "username": "13828271021",
            "money": "5.50",
            "rank": "8"
        },
        {
            "username": "13671488864",
            "money": "5.50",
            "rank": "9"
        },
        {
            "username": "18675990988",
            "money": "5.50",
            "rank": "9"
        },
        {
            "username": "15089324059",
            "money": "5.50",
            "rank": "10"
        },
        {
            "username": "18219103096",
            "money": "5.50",
            "rank": "11"
        },
        {
            "username": "15768124958",
            "money": "5.50",
            "rank": "12"
        },
        {
            "username": "13427793467",
            "money": "5.50",
            "rank": "13"
        },
        {
            "username": "13420123497",
            "money": "5.50",
            "rank": "13"
        },
        {
            "username": "13671456649",
            "money": "5.50",
            "rank": "14"
        },
        {
            "username": "13420117798",
            "money": "5.50",
            "rank": "15"
        },
        {
            "username": "13750326326",
            "money": "5.50",
            "rank": "16"
        },
        {
            "username": "13509930997",
            "money": "5.50",
            "rank": "17"
        },
        {
            "username": "18649970686",
            "money": "5.50",
            "rank": "18"
        },
        {
            "username": "13828279150",
            "money": "5.50",
            "rank": "19"
        },
        {
            "username": "13824833625",
            "money": "5.50",
            "rank": "20"
        },
        {
            "username": "18825972313",
            "money": "5.50",
            "rank": "20"
        },
        {
            "username": "15977589283",
            "money": "5.50",
            "rank": "21"
        },
        {
            "username": "18344090071",
            "money": "5.50",
            "rank": "21"
        },
        {
            "username": "18244933704",
            "money": "5.00",
            "rank": "21"
        },
        {
            "username": "13030180181",
            "money": "5.00",
            "rank": "22"
        },
        {
            "username": "13435217063",
            "money": "5.00",
            "rank": "23"
        },
        {
            "username": "13232675737",
            "money": "5.00",
            "rank": "24"
        },
        {
            "username": "18122133972",
            "money": "5.00",
            "rank": "25"
        },
        {
            "username": "15768539904",
            "money": "5.00",
            "rank": "26"
        },
        {
            "username": "15364281649",
            "money": "5.00",
            "rank": "26"
        },
        {
            "username": "18933329809",
            "money": "5.00",
            "rank": "27"
        },
        {
            "username": "13112834161",
            "money": "5.00",
            "rank": "28"
        },
        {
            "username": "18312104236",
            "money": "5.00",
            "rank": "29"
        },
        {
            "username": "13189496393",
            "money": "5.00",
            "rank": "30"
        },
        {
            "username": "13437867593",
            "money": "5.00",
            "rank": "31"
        },
        {
            "username": "18825360068",
            "money": "5.00",
            "rank": "32"
        },
        {
            "username": "13822596585",
            "money": "5.00",
            "rank": "33"
        },
        {
            "username": "13424300185",
            "money": "4.50",
            "rank": "34"
        },
        {
            "username": "13950112879",
            "money": "4.50",
            "rank": "35"
        },
        {
            "username": "13424256744",
            "money": "4.50",
            "rank": "36"
        },
        {
            "username": "13813043876",
            "money": "4.50",
            "rank": "37"
        },
        {
            "username": "13267898348",
            "money": "4.50",
            "rank": "37"
        },
        {
            "username": "13828291892",
            "money": "4.50",
            "rank": "37"
        },
        {
            "username": "13590322734",
            "money": "4.50",
            "rank": "38"
        },
        {
            "username": "15218266085",
            "money": "4.50",
            "rank": "39"
        },
        {
            "username": "15989486306",
            "money": "4.50",
            "rank": "40"
        },
        {
            "username": "13510146663",
            "money": "4.50",
            "rank": "41"
        },
        {
            "username": "13430562873",
            "money": "4.50",
            "rank": "42"
        },
        {
            "username": "13923874933",
            "money": "4.50",
            "rank": "43"
        },
        {
            "username": "18933800855",
            "money": "4.50",
            "rank": "44"
        },
        {
            "username": "13542096942",
            "money": "4.50",
            "rank": "45"
        },
        {
            "username": "13926709768",
            "money": "4.50",
            "rank": "46"
        },
        {
            "username": "15815494700",
            "money": "4.50",
            "rank": "47"
        },
        {
            "username": "13246505655",
            "money": "4.50",
            "rank": "48"
        },
        {
            "username": "18218241389",
            "money": "4.50",
            "rank": "49"
        },
        {
            "username": "13763040511",
            "money": "4.50",
            "rank": "50"
        },
        {
            "username": "15702092521",
            "money": "4.50",
            "rank": "51"
        },
        {
            "username": "13922099508",
            "money": "4.50",
            "rank": "52"
        },
        {
            "username": "13432726443",
            "money": "4.50",
            "rank": "53"
        },
        {
            "username": "13692354591",
            "money": "4.50",
            "rank": "54"
        },
        {
            "username": "13828293484",
            "money": "4.50",
            "rank": "55"
        },
        {
            "username": "15875982948",
            "money": "4.50",
            "rank": "56"
        },
        {
            "username": "13828286780",
            "money": "4.50",
            "rank": "56"
        },
        {
            "username": "15913524953",
            "money": "4.50",
            "rank": "56"
        },
        {
            "username": "15875955186",
            "money": "4.50",
            "rank": "57"
        },
        {
            "username": "18688944043",
            "money": "4.50",
            "rank": "58"
        },
        {
            "username": "18320392558",
            "money": "4.50",
            "rank": "59"
        },
        {
            "username": "13828266816",
            "money": "4.50",
            "rank": "60"
        },
        {
            "username": "18938416724",
            "money": "4.50",
            "rank": "61"
        },
        {
            "username": "18934231522",
            "money": "4.50",
            "rank": "61"
        },
        {
            "username": "13542013880",
            "money": "4.50",
            "rank": "62"
        },
        {
            "username": "18934249753",
            "money": "4.50",
            "rank": "63"
        },
        {
            "username": "18934236242",
            "money": "4.50",
            "rank": "64"
        },
        {
            "username": "13799563393",
            "money": "4.50",
            "rank": "65"
        },
        {
            "username": "18218377074",
            "money": "4.50",
            "rank": "66"
        },
        {
            "username": "18476307721",
            "money": "4.50",
            "rank": "67"
        },
        {
            "username": "18551792017",
            "money": "4.50",
            "rank": "68"
        },
        {
            "username": "13411168176",
            "money": "4.50",
            "rank": "68"
        },
        {
            "username": "18320378781",
            "money": "4.50",
            "rank": "69"
        },
        {
            "username": "15876375579",
            "money": "4.50",
            "rank": "70"
        },
        {
            "username": "13437714456",
            "money": "4.00",
            "rank": "71"
        },
        {
            "username": "15115590588",
            "money": "4.00",
            "rank": "72"
        },
        {
            "username": "13650482867",
            "money": "4.00",
            "rank": "73"
        },
        {
            "username": "18406653163",
            "money": "3.50",
            "rank": "74"
        },
        {
            "username": "13808837168",
            "money": "3.50",
            "rank": "74"
        },
        {
            "username": "13824847156",
            "money": "3.50",
            "rank": "74"
        },
        {
            "username": "15976821306",
            "money": "3.50",
            "rank": "74"
        },
        {
            "username": "13724782627",
            "money": "3.50",
            "rank": "74"
        },
        {
            "username": "15999843766",
            "money": "3.50",
            "rank": "75"
        },
        {
            "username": "13192764388",
            "money": "3.50",
            "rank": "76"
        },
        {
            "username": "13435364390",
            "money": "3.50",
            "rank": "77"
        },
        {
            "username": "13729188551",
            "money": "3.50",
            "rank": "77"
        },
        {
            "username": "18680276113",
            "money": "3.00",
            "rank": "77"
        },
        {
            "username": "13751190238",
            "money": "3.00",
            "rank": "77"
        }
    ]
}       
积分排行返回格式如下：
{
    "status": 1,
    "message": "获取成功",
    "list": [
        {
            "username": "15980321255",
            "score": "24",
            "rank": "1"
        },
        {
            "username": "13828271021",
            "score": "22",
            "rank": "2"
        },
        {
            "username": "13178593967",
            "score": "22",
            "rank": "2"
        },
        {
            "username": "13822585447",
            "score": "21",
            "rank": "3"
        },
        {
            "username": "15602506295",
            "score": "21",
            "rank": "3"
        },
        {
            "username": "13030180181",
            "score": "20",
            "rank": "4"
        },
        {
            "username": "13232675737",
            "score": "20",
            "rank": "4"
        },
        {
            "username": "15768539904",
            "score": "20",
            "rank": "4"
        },
        {
            "username": "15364281649",
            "score": "20",
            "rank": "4"
        },
        {
            "username": "13189496393",
            "score": "20",
            "rank": "4"
        },
        {
            "username": "18825360068",
            "score": "20",
            "rank": "4"
        },
        {
            "username": "13543515793",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "13435217063",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "13671488864",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "18675990988",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "18219103096",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "18933329809",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "15115590588",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "13671456649",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "13509930997",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "13824833625",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "13437867593",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "18825972313",
            "score": "19",
            "rank": "5"
        },
        {
            "username": "18122133972",
            "score": "18",
            "rank": "6"
        },
        {
            "username": "18244933704",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "15118810571",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "13713968813",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "13691786464",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "13427793467",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "13420123497",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "13750326326",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "18649970686",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "15977589283",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "18344090071",
            "score": "17",
            "rank": "7"
        },
        {
            "username": "15089324059",
            "score": "16",
            "rank": "8"
        },
        {
            "username": "15768124958",
            "score": "16",
            "rank": "8"
        },
        {
            "username": "18312104236",
            "score": "16",
            "rank": "8"
        },
        {
            "username": "13828279150",
            "score": "16",
            "rank": "8"
        },
        {
            "username": "13632673673",
            "score": "15",
            "rank": "9"
        },
        {
            "username": "13005678103",
            "score": "15",
            "rank": "9"
        },
        {
            "username": "18707605760",
            "score": "15",
            "rank": "9"
        },
        {
            "username": "13420117798",
            "score": "15",
            "rank": "9"
        },
        {
            "username": "13078252066",
            "score": "15",
            "rank": "9"
        },
        {
            "username": "13112834161",
            "score": "15",
            "rank": "9"
        },
        {
            "username": "13822596585",
            "score": "15",
            "rank": "9"
        },
        {
            "username": "15218266085",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "13437714456",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "13763040511",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "13922099508",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "13434669081",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "15875955186",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "15812376633",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "18320392558",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "13192764388",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "18218377074",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "18320378781",
            "score": "14",
            "rank": "10"
        },
        {
            "username": "15999843766",
            "score": "13",
            "rank": "11"
        },
        {
            "username": "15017371077",
            "score": "13",
            "rank": "11"
        },
        {
            "username": "18406653163",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "18680276113",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13950112879",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13751190238",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13813043876",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13267898348",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13828291892",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13808837168",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13430562873",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13824847156",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13542096942",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "15976821306",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "15815494700",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13724782627",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13178589148",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "15702092521",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13828293484",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "18688944043",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13435364390",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13828266816",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13542013880",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "18934236242",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "18777107913",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13729188551",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "18551792017",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13411168176",
            "score": "12",
            "rank": "12"
        },
        {
            "username": "13424300185",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "13424256744",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "13590322734",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "13510146663",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "13923874933",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "18218241389",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "13432726443",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "15875982948",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "13828286780",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "15913524953",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "18665916235",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "13650482867",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "15889309689",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "18120570087",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "18938416724",
            "score": "11",
            "rank": "13"
        },
        {
            "username": "18934231522",
            "score": "11",
            "rank": "13"
        }
    ]
}
</pre>
                </li>
                
			</ul>
        </code>
       
 




    </div>

</div>

</body>
</html>